package com.wanlian.socketserver;

import com.wanlian.socketserver.Device.DeviceApplication;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class ServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServerApplication.class, args);
        try {
//            new DeviceApplication().runServer();
            new DeviceApplication().runFileServer();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
